Optimal. Leaf size=228 \[ -\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2}{8 b^2 x \left (a+b \sec ^{-1}(c x)\right )}-\frac {3 c^3 \cos \left (3 \sec ^{-1}(c x)\right )}{8 b^2 \left (a+b \sec ^{-1}(c x)\right )}+\frac {c^3 \text {CosIntegral}\left (\frac {a}{b}+\sec ^{-1}(c x)\right ) \sin \left (\frac {a}{b}\right )}{8 b^3}+\frac {9 c^3 \text {CosIntegral}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right ) \sin \left (\frac {3 a}{b}\right )}{8 b^3}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^3 \cos \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\sec ^{-1}(c x)\right )}{8 b^3}-\frac {9 c^3 \cos \left (\frac {3 a}{b}\right ) \text {Si}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right )}{8 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.25, antiderivative size = 228, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {5330, 4491,
3378, 3384, 3380, 3383} \begin {gather*} \frac {c^3 \sin \left (\frac {a}{b}\right ) \text {CosIntegral}\left (\frac {a}{b}+\sec ^{-1}(c x)\right )}{8 b^3}+\frac {9 c^3 \sin \left (\frac {3 a}{b}\right ) \text {CosIntegral}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right )}{8 b^3}-\frac {c^3 \cos \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\sec ^{-1}(c x)\right )}{8 b^3}-\frac {9 c^3 \cos \left (\frac {3 a}{b}\right ) \text {Si}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right )}{8 b^3}-\frac {3 c^3 \cos \left (3 \sec ^{-1}(c x)\right )}{8 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^2}{8 b^2 x \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3378
Rule 3380
Rule 3383
Rule 3384
Rule 4491
Rule 5330
Rubi steps
\begin {align*} \int \frac {1}{x^4 \left (a+b \sec ^{-1}(c x)\right )^3} \, dx &=c^3 \text {Subst}\left (\int \frac {\cos ^2(x) \sin (x)}{(a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )\\ &=c^3 \text {Subst}\left (\int \left (\frac {\sin (x)}{4 (a+b x)^3}+\frac {\sin (3 x)}{4 (a+b x)^3}\right ) \, dx,x,\sec ^{-1}(c x)\right )\\ &=\frac {1}{4} c^3 \text {Subst}\left (\int \frac {\sin (x)}{(a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )+\frac {1}{4} c^3 \text {Subst}\left (\int \frac {\sin (3 x)}{(a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )\\ &=-\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}+\frac {c^3 \text {Subst}\left (\int \frac {\cos (x)}{(a+b x)^2} \, dx,x,\sec ^{-1}(c x)\right )}{8 b}+\frac {\left (3 c^3\right ) \text {Subst}\left (\int \frac {\cos (3 x)}{(a+b x)^2} \, dx,x,\sec ^{-1}(c x)\right )}{8 b}\\ &=-\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2}{8 b^2 x \left (a+b \sec ^{-1}(c x)\right )}-\frac {3 c^3 \cos \left (3 \sec ^{-1}(c x)\right )}{8 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^3 \text {Subst}\left (\int \frac {\sin (x)}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}-\frac {\left (9 c^3\right ) \text {Subst}\left (\int \frac {\sin (3 x)}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}\\ &=-\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2}{8 b^2 x \left (a+b \sec ^{-1}(c x)\right )}-\frac {3 c^3 \cos \left (3 \sec ^{-1}(c x)\right )}{8 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {\left (c^3 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}-\frac {\left (9 c^3 \cos \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {3 a}{b}+3 x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}+\frac {\left (c^3 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}+\frac {\left (9 c^3 \sin \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {3 a}{b}+3 x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{8 b^2}\\ &=-\frac {c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2}{8 b^2 x \left (a+b \sec ^{-1}(c x)\right )}-\frac {3 c^3 \cos \left (3 \sec ^{-1}(c x)\right )}{8 b^2 \left (a+b \sec ^{-1}(c x)\right )}+\frac {c^3 \text {Ci}\left (\frac {a}{b}+\sec ^{-1}(c x)\right ) \sin \left (\frac {a}{b}\right )}{8 b^3}+\frac {9 c^3 \text {Ci}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right ) \sin \left (\frac {3 a}{b}\right )}{8 b^3}-\frac {c^3 \sin \left (3 \sec ^{-1}(c x)\right )}{8 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^3 \cos \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\sec ^{-1}(c x)\right )}{8 b^3}-\frac {9 c^3 \cos \left (\frac {3 a}{b}\right ) \text {Si}\left (\frac {3 a}{b}+3 \sec ^{-1}(c x)\right )}{8 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.37, size = 169, normalized size = 0.74 \begin {gather*} \frac {-\frac {4 b^2 c \sqrt {1-\frac {1}{c^2 x^2}}}{x^2 \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {12 b}{x^3 \left (a+b \sec ^{-1}(c x)\right )}+\frac {8 b c^2}{a x+b x \sec ^{-1}(c x)}+c^3 \text {CosIntegral}\left (\frac {a}{b}+\sec ^{-1}(c x)\right ) \sin \left (\frac {a}{b}\right )+9 c^3 \text {CosIntegral}\left (3 \left (\frac {a}{b}+\sec ^{-1}(c x)\right )\right ) \sin \left (\frac {3 a}{b}\right )-c^3 \cos \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\sec ^{-1}(c x)\right )-9 c^3 \cos \left (\frac {3 a}{b}\right ) \text {Si}\left (3 \left (\frac {a}{b}+\sec ^{-1}(c x)\right )\right )}{8 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 307, normalized size = 1.35
method | result | size |
derivativedivides | \(c^{3} \left (-\frac {\sin \left (3 \,\mathrm {arcsec}\left (c x \right )\right )}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {3 \left (3 \,\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {3 a}{b}\right ) \sinIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) b -3 \,\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {3 a}{b}\right ) \cosineIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) b +3 \cos \left (\frac {3 a}{b}\right ) \sinIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) a -3 \sin \left (\frac {3 a}{b}\right ) \cosineIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) a +\cos \left (3 \,\mathrm {arcsec}\left (c x \right )\right ) b \right )}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}-\frac {\sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {a}{b}\right ) \sinIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) b c x -\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {a}{b}\right ) \cosineIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) b c x +\cos \left (\frac {a}{b}\right ) \sinIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) a c x -\sin \left (\frac {a}{b}\right ) \cosineIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) a c x +b}{8 c x \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}\right )\) | \(307\) |
default | \(c^{3} \left (-\frac {\sin \left (3 \,\mathrm {arcsec}\left (c x \right )\right )}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {3 \left (3 \,\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {3 a}{b}\right ) \sinIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) b -3 \,\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {3 a}{b}\right ) \cosineIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) b +3 \cos \left (\frac {3 a}{b}\right ) \sinIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) a -3 \sin \left (\frac {3 a}{b}\right ) \cosineIntegral \left (\frac {3 a}{b}+3 \,\mathrm {arcsec}\left (c x \right )\right ) a +\cos \left (3 \,\mathrm {arcsec}\left (c x \right )\right ) b \right )}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}-\frac {\sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{8 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {a}{b}\right ) \sinIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) b c x -\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {a}{b}\right ) \cosineIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) b c x +\cos \left (\frac {a}{b}\right ) \sinIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) a c x -\sin \left (\frac {a}{b}\right ) \cosineIntegral \left (\frac {a}{b}+\mathrm {arcsec}\left (c x \right )\right ) a c x +b}{8 c x \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}\right )\) | \(307\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{4} \left (a + b \operatorname {asec}{\left (c x \right )}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1640 vs.
\(2 (210) = 420\).
time = 0.54, size = 1640, normalized size = 7.19 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{x^4\,{\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________